package com.simple.core.config;

import com.simple.core.util.SessionContext;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author FanXing
 * @date 2023年02月03日 14:25
 */
@Configuration
public class SessionContextConfig {

    @Bean
    @ConditionalOnMissingBean
    public SessionContext sessionContextUtils() {
        return new SessionContext() {
        };
    }

}
